package com.caption.design.factory.abtract;

/**
 * 苹果工厂生产苹果手机也生产苹果电脑
 */
public class AppleFactory implements AbstractFactory{
    @Override
    public Phone buildPhone() {
        return new ApplePhone();
    }

    @Override
    public Computer buildComputer() {
        return new AppleComputer();
    }
}
